﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Web.UI;
using System.ComponentModel;

namespace Ajaxna
{
    public class AjaxnaScriptReference
    {
        string _path;
        string _name;
        string _assembly;

        [UrlProperty]
        public string Path
        {
            get { return _path; }
            set { _path = value; }
        }
        
        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }
        
        public string Assembly
        {
            get { return _assembly; }
            set { _assembly = value; }
        }

        public AjaxnaScriptReference() { }
        public AjaxnaScriptReference(string path, string name, string assembly)
        {
            this.Path = path;
            this.Name = name;
            this.Assembly = assembly;
        }
    }
}
